
package com.qf.model;

import java.util.List;

public class Pagebean {
	private int currentPage;//当前页
	private int pagesize;//每页的数据
	private int totalCount;// 总数据
    private int tatalPagesize;//总页数
    private List<Product> list; //总数据
	public int getCurrentPage() {
	
		return currentPage;
	}
	public void setCurrentPage(int currentPage) {
	
		this.currentPage = currentPage;
	}
	public int getPagesize() {
	
		return pagesize;
	}
	public void setPagesize(int pagesize) {
	
		this.pagesize = pagesize;
	}
	public int getTotalCount() {
	
		return totalCount;
	}
	public void setTotalCount(int totalCount) {
	
		this.totalCount = totalCount;
	}
	public int getTatalPagesize() {
	
		return tatalPagesize;
	}
	public void setTatalPagesize(int tatalPagesize) {
	
		this.tatalPagesize = tatalPagesize;
	}
	public List<Product> getList() {
	
		return list;
	}
	public void setList(List<Product> list) {
	
		this.list = list;
	}
	@Override
	public String toString() {
		return "Pagebean [currentPage=" + currentPage + ", pagesize=" + pagesize + ", totalCount=" + totalCount
				+ ", tatalPagesize=" + tatalPagesize + ", list=" + list + "]";
	}
	public Pagebean(int currentPage, int pagesize, int totalCount, int tatalPagesize, List<Product> list) {
		super();
		this.currentPage = currentPage;
		this.pagesize = pagesize;
		this.totalCount = totalCount;
		this.tatalPagesize = tatalPagesize;
		this.list = list;
	}
	public Pagebean() {
		
		super();
		//TODO 
			
	}
	
}